|
|
| Расположение в меню |
|---|
| Вид → Габариты |
| Верстаки |
| Все |
| Быстрые клавиши |
| Нет |
| Представлено в версии |
| 0.19 |
| См. также |
| Стиль представления |
The Std SelBoundingBox command toggles the global bounding box highlighting mode. If this mode is switched on, selected objects are marked in a 3D View with a highlighted bounding box even if their ВидSelection Style is set to Shape.
Смотрите так же: Основы составления скриптов в FreeCAD.
To change the ShowSelectionBoundingBox parameter use the SetBool method of the appropriate ParameterGrp.
import FreeCAD, FreeCADGui
grp = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/View")
if grp.GetBool("ShowSelectionBoundingBox"):
grp.SetBool("ShowSelectionBoundingBox", False)
else:
grp.SetBool("ShowSelectionBoundingBox", True)
FreeCADGui.updateCommands()